package com.examplemartin.jpademo.bean;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "site")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Site  implements Serializable {

  private String title;
  private String url;
  private String pageSize;
  private String   backupDirectory
  ;

}
